package codetop.microsoft.T36;

import util.GraphUtil;

/**
 * @Author: 18362
 * @Create: 2022-09-11 21:14:53 星期日
 */
public class M36 {
    public static void main(String[] args) {
        char[][] board = GraphUtil.parseGraphChar("[[\"5\",\"3\",\".\",\".\",\"7\",\".\",\".\",\".\",\".\"]" +
                ",[\"6\",\".\",\".\",\"1\",\"9\",\"5\",\".\",\".\",\".\"]" +
                ",[\".\",\"9\",\"8\",\".\",\".\",\".\",\".\",\"6\",\".\"]" +
                ",[\"8\",\".\",\".\",\".\",\"6\",\".\",\".\",\".\",\"3\"]" +
                ",[\"4\",\".\",\".\",\"8\",\".\",\"3\",\".\",\".\",\"1\"]" +
                ",[\"7\",\".\",\".\",\".\",\"2\",\".\",\".\",\".\",\"6\"]" +
                ",[\".\",\"6\",\".\",\".\",\".\",\".\",\"2\",\"8\",\".\"]" +
                ",[\".\",\".\",\".\",\"4\",\"1\",\"9\",\".\",\".\",\"5\"]" +
                ",[\".\",\".\",\".\",\".\",\"8\",\".\",\".\",\"7\",\"9\"]]");
        System.out.println(new Solution().isValidSudoku(board));
    }
}
